package com.e3.basdoc.goods.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.e3.core.base.SuperOCEntity;

@Entity
@Table(name="T_GOODS")
public class GoodsEntity extends SuperOCEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6002830464517738743L;

	private String code;
	
	private String name;
	
	private String shortName;
	
	private String foreignLangName;
	
	private String specification;
	
	private String type;
	
	private String origin;
	
	private String brand;
	
	private String barcode;
	
	private Long measureUnitId;
	
	private Double bulk;
	
	private Double weight;
	
	private Long mainSupplierId;
	
	private Long taxId;
	
	private boolean allowNegative;
	
	private boolean allowReturn;
	
	private boolean hasInvoice;
	
	private Double refCost;
	
	private Double refPrice;
	
	private Double floorPrice;
	
	private Double ceilingPrice;
	
	private Double purchaseLossRate;
	
	private Double reserveLossRate;
	
	private Double exportRebatesRate;
	
	private boolean sealFlag;
	
	private Long sealTime;
	
	private Long sealPersonId;
	
	private String remark;
	
	@Column(name="CODE")
	public String getCode(){
		return this.code;
	}
	
	public void setCode(String code){
		this.code = code;
	}
	
	@Column(name="NAME")
	public String getName(){
		return this.name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	@Column(name="SHORT_NAME")
	public String getShortName(){
		return this.shortName;
	}
	
	public void setShortName(String shortName){
		this.shortName = shortName;
	}
	
	@Column(name="FOREIGN_LANG_NAME")
	public String getForeignLangName(){
		return this.foreignLangName;
	}
	
	public void setForeignLangName(String foreignLangName){
		this.foreignLangName = foreignLangName;
	}
	
	@Column(name="SPECIFICATION")
	public String getSpecification(){
		return this.specification;
	}
	
	public void setSpecification(String specification){
		this.specification = specification;
	}
	
	@Column(name="TYPE")
	public String getType(){
		return this.type;
	}
	
	public void setType(String type){
		this.type = type;
	}
	
	@Column(name="ORIGIN")
	public String getOrigin(){
		return this.origin;
	}
	
	public void setOrigin(String origin){
		this.origin = origin;
	}
	
	@Column(name="BRAND")
	public String getBrand(){
		return this.brand;
	}
	
	public void setBrand(String brand){
		this.brand = brand;
	}
	
	@Column(name="BARCODE")
	public String getBarcode(){
		return this.barcode;
	}
	
	public void setBarcode(String barcode){
		this.barcode = barcode;
	}
	
	@Column(name="MEASURE_UNIT_ID")
	public Long getMeasureUnitId(){
		return this.measureUnitId;
	}
	
	public void setMeasureUnitId(Long measureUnitId){
		this.measureUnitId = measureUnitId;
	}
	
	@Column(name="BULK")
	public Double getBulk(){
		return this.bulk;
	}
	
	public void setBulk(Double bulk){
		this.bulk = bulk;
	}
	
	@Column(name="WEIGHT")
	public Double getWeight(){
		return this.weight;
	}
	
	public void setWeight(Double weight){
		this.weight = weight;
	}
	
	@Column(name="MAIN_SUPPLIER_ID")
	public Long getMainSupplierId(){
		return this.mainSupplierId;
	}
	
	public void setMainSupplierId(Long mainSupplierId){
		this.mainSupplierId = mainSupplierId;
	}
	
	@Column(name="TAX_ID")
	public Long getTaxId(){
		return this.taxId;
	}
	
	public void setTaxId(Long taxId){
		this.taxId = taxId;
	}
	
	@Column(name="ALLOW_NEGATIVE")
	public boolean getAllowNegative(){
		return this.allowNegative;
	}
	
	public void setAllowNegative(boolean allowNegative){
		this.allowNegative = allowNegative;
	}
	
	@Column(name="ALLOW_RETURN")
	public boolean getAllowReturn(){
		return this.allowReturn;
	}
	
	public void setAllowReturn(boolean allowReturn){
		this.allowReturn = allowReturn;
	}
	
	@Column(name="HAS_INVOICE")
	public boolean getHasInvoice(){
		return this.hasInvoice;
	}
	
	public void setHasInvoice(boolean hasInvoice){
		this.hasInvoice = hasInvoice;
	}
	
	@Column(name="REF_COST")
	public Double getRefCost(){
		return this.refCost;
	}
	
	public void setRefCost(Double refCost){
		this.refCost = refCost;
	}
	
	@Column(name="REF_PRICE")
	public Double getRefPrice(){
		return this.refPrice;
	}
	
	public void setRefPrice(Double refPrice){
		this.refPrice = refPrice;
	}
	
	@Column(name="FLOOR_PRICE")
	public Double getFloorPrice(){
		return this.floorPrice;
	}
	
	public void setFloorPrice(Double floorPrice){
		this.floorPrice = floorPrice;
	}
	
	@Column(name="CEILING_PRICE")
	public Double getCeilingPrice(){
		return this.ceilingPrice;
	}
	
	public void setCeilingPrice(Double ceilingPrice){
		this.ceilingPrice = ceilingPrice;
	}
	
	@Column(name="PURCHASE_LOSS_RATE")
	public Double getPurchaseLossRate(){
		return this.purchaseLossRate;
	}
	
	public void setPurchaseLossRate(Double purchaseLossRate){
		this.purchaseLossRate = purchaseLossRate;
	}
	
	@Column(name="RESERVE_LOSS_RATE")
	public Double getReserveLossRate(){
		return this.reserveLossRate;
	}
	
	public void setReserveLossRate(Double reserveLossRate){
		this.reserveLossRate = reserveLossRate;
	}
	
	@Column(name="EXPORT_REBATES_RATE")
	public Double getExportRebatesRate(){
		return this.exportRebatesRate;
	}
	
	public void setExportRebatesRate(Double exportRebatesRate){
		this.exportRebatesRate = exportRebatesRate;
	}
	
	@Column(name="SEAL_FLAG")
	public boolean getSealFlag(){
		return this.sealFlag;
	}
	
	public void setSealFlag(boolean sealFlag){
		this.sealFlag = sealFlag;
	}
	
	@Column(name="SEAL_TIME")
	public Long getSealTime(){
		return this.sealTime;
	}
	
	public void setSealTime(Long sealTime){
		this.sealTime = sealTime;
	}
	
	@Column(name="SEAL_PERSON_ID")
	public Long getSealPersonId() {
		return sealPersonId;
	}

	public void setSealPersonId(Long sealPersonId) {
		this.sealPersonId = sealPersonId;
	}

	@Column(name="REMARK")
	public String getRemark(){
		return this.remark;
	}
	
	public void setRemark(String remark){
		this.remark = remark;
	}
}
